HR - Absences - REST API icon

HR - Absences - REST API

(0 reviews)

Spec - Absences IN - REST API

The REST Absences IN API allows you to send absences into Codex :

Request to send absences data to Codex

POST /rest/v1/hr/absences

Security

This API is secured by client_id/client_secret. These parameters are to add in the headers of your call:

 - client_id: {client_id provided by Dali}
 - client_secret: {client_secret provided by Dali}

Example

{
  "correlationId": "",
  "conversationId": "",
  "companyCode": "AA01",
  "sourceSystem": "TestSource",
  "items": [
    {
      "employeeId": "123456",
      "category": "ZZ00",
      "startDate": "2023-07-07",
      "endDate": "2023-07-08",
      "actionFlag": "C",
      "startTime": "09:00:00",
      "endTime": "12:00:00",
      "totalHours": "3"
    }
  ]
}

Response of the API

If the request is OK: HTTPS status will be 200

If the request is KO: HTTPS status will be 500


Reviews